package com.example.campus_activity_backend.service;

import com.example.campus_activity_backend.domain.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Hongxia
* @description 针对表【t_manager_teacher】的数据库操作Service
* @createDate 2023-11-17 14:37:56
*/
public interface TeacherService extends IService<Teacher> {

    /**
     * 添加教师
     * @param teacher
     * @return 教师id
     */
    public long addTeacher(Teacher teacher);

    /**
     * 根据教师名查询教师
     * @param teacherName
     * @return
     */
    public List<Teacher> getTeacherByName(String teacherName);

}
